﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Service.SystemManagementService.UserService.Dto
{
    /// <summary>
    /// 用户请求数据传输对象，用于用户的新增、修改等操作
    /// </summary>
    public class UserRequest
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 用户账号
        /// </summary>
        public string? Account { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 用户性别
        /// </summary>
        public bool UserGender { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? MobilePhoneNumber { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string? Telephone { get; set; }

        /// <summary>
        /// 用户生日
        /// </summary>
        public DateTime Birthday { get; set; }

        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public string? DeptId { get; set; }

        /// <summary>
        /// 员工编号
        /// </summary>
        public string? EmployeeNumber { get; set; }

        /// <summary>
        /// 是否在线
        /// </summary>
        public bool IsOnLine { get; set; }

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastLoginAt { get; set; }

        /// <summary>
        /// 用户状态（启用/禁用）
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 用户角色Id集合
        /// </summary>
        public List<string>? RoleIds { get; set; }
    }
}
